
<div class="pageContent">
	<form method="post" action="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/index',array('do'=>'search'))}" class="pageForm" onsubmit="return navTabSearch(this);">
		<div class="pageFormContent" layoutH=50">
			<!--<div class="unit">
				<label>物料名称：</label>
				<input type="text" name="search_where[name][like]" size="50" minlength="2" maxlength="10"/>
			</div>-->
			<div class="unit">
				<dl>
					<dt>供应商：</dt>
					<dd>
						<select class="combox" name="search_where[supplier_id][eq]">
							<option value="">请选择</option>
							<foreach name='supplier' item='v'>
								<option value="{$v['id']}">{$v['name']}</option>
							</foreach>
						</select>				
					</dd>
				</dl>
			</div>
			<div class="unit">
				<dl>
					<dt>入库库房：</dt>
					<dd>
						<select class="combox" name="search_where[depot_id][eq]">
							<option value="">请选择</option>
							<foreach name='depot' item='v'>
								<option value="{$v['id']}">{$v['name']}</option>
							</foreach>
						</select>	
					</dd>
				</dl>
			</div>
			<div class="unit">
				<dl>
					<dt>入库时间：</dt>
					<dd>
						<input type="text" maxdate="2020-03-13" mindate="2016-03-02" datefmt="yyyy-MM-dd" class="date textInput readonly valid" name="search_where[date][eq]" readonly="readonly"/>
					</dd>
				</dl>
			</div>
			<div class="divider">divider</div>
			<div class="unit">
				<dl>
					<dt>起始时间</dt>
					<dd>
						<input type="text" maxdate="2020-03-13" mindate="2016-03-02" datefmt="yyyy-MM-dd" class="date textInput readonly valid" name="search_where[date][and][gt_date]" readonly="readonly"/>
					</dd>
				</dl>
			</div>
			<div class="unit">
				<dl>
					<dt>结束时间</dt>
					<dd>
						<input type="text" maxdate="2020-03-13" mindate="2016-03-02" datefmt="yyyy-MM-dd" class="date textInput readonly valid" name="search_where[date][and][lt_date]" readonly="readonly"/>
					</dd>
				</dl>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">开始检索</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="reset">清空重输</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
